/* style.css */

/* 全局字体和背景 */
body {
    font-family: 'Arial', sans-serif;
    background: url('/img/timg2.png') no-repeat center center fixed;
    background-size: cover;
    color: #333; /* 更暗的字体颜色，增强可读性 */
    line-height: 1.6;
}

.container {
    margin-top: 50px;
    margin-bottom: 50px;
}

h1 {
    color: #fff;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 30px;
}

/* 卡片样式 */
.card {
    background: rgba(0, 0, 0, 0.6); /* 黑色透明背景 */
    border-radius: 12px; /* 更柔和的圆角 */
    padding: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px); /* 背景模糊效果 */
}

/* 输入框样式 */
.form-control {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    transition: background-color 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: #646464;
}
.form-label{
    font-weight: bold;
    color: #bbbbbb;
}
.form-control{
    font-weight: bold;
}

/* 表格样式 */
.table {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: none;
    margin-top: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); /* 更柔和的阴影 */

}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
    padding: 12px 20px;
    background-color: rgba(0,0,0,0.45);
    color: #bbbbbb;
    font-weight: bold;
}

.table th {
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    font-weight: bold;
    border-top-left-radius: 10px; /* 较小的圆角 */
    border-top-right-radius: 10px;
    color: #bbbbbb;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.table-bordered {
    border: 1px solid rgba(0, 0, 0, 0);
}


.table-bordered td:first-child, .table-bordered th:first-child {
    border-left: none;
}

.table-bordered td:last-child, .table-bordered th:last-child {
    border-right: none;
}

/* 按钮样式 */
.btn {
    border-radius: 20px;
    font-weight: bold;
    padding: 10px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, rgba(99, 65, 255, 0.89), #2575fc);
    border: none;
}

.btn-warning {
    background: linear-gradient(to right, #fbc531, #f39c12);
    border: none;
}

.btn-danger {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    border: none;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 搜索按钮、添加按钮的间距 */
.d-flex {
    gap: 20px;
}
